import unittest
from Finance_fun.scripts.test01_register import RegisterTest
from Finance_fun.scripts.test02_login import LoginTest
from Finance_fun.scripts.test03_transaction import TransactionTest
from Finance_fun.scripts.test04_my_red_envlope import MyRedEnvelopeTest
from Finance_fun.scripts.test05_my_investment import MyInvestmentTest
from Finance_fun.scripts.test06_collection_plan import MyCollectionPlanTest
from Finance_fun.scripts.test07_base_info import BaseInfoTest
from Finance_fun.scripts.test08_remind_setting import RemindSettingTest
from Finance_fun.scripts.test09_my_promotion import MyPromotionTest
from Finance_fun.scripts.test10_promotion_record import PromotionRecordTest

suite = unittest.TestSuite()

suite.addTest(RegisterTest('test_register'))
suite.addTest(LoginTest('test_login'))
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(TransactionTest))
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(MyRedEnvelopeTest))
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(MyInvestmentTest))
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(MyCollectionPlanTest))
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(BaseInfoTest))
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(RemindSettingTest))
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(MyPromotionTest))
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(PromotionRecordTest))

runner = unittest.TextTestRunner().run(suite)


